package com.weareint.biz.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.weareint.common.jpabase.BaseEntity;


/**
 *
 *
 *
 * <pre>
 *     产品BOM
 * </pre>
 *
 * @author Johnny
 * @date 2021-09-28
 */
@Data
@Entity
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "产品BOM", description = "产品BOM")
@Table(name = "product_bom")
public class ProductBom extends BaseEntity{

    @ApiModelProperty(value = "")
    @Column(name = "deleted")
    private Integer deleted;

    @ApiModelProperty(value = "")
    @Column(name = "remark")
    private String remark;

    @ApiModelProperty(value = "编码 好像没用")
    @Column(name = "code")
    private String code;

    @ApiModelProperty(value = "产品id")
    @Column(name = "product_id")
    private Long productId;

    @ApiModelProperty(value = "产品名称")
    @Column(name = "product_name")
    private String productName;


}
